Xmas tree pattern in python program